<div class="form-group">
    <label class="control-label" for="textinput">时间（分钟）:</label>
    <select   ng-model="date" >
        <option value="">-- 请选择 --</option>
        <option>10</option>
        <option>20</option>
        <option>30</option>
        <option>60</option>
    </select>
    <label class="control-label" for="textinput">小区:</label>
    <select ng-model="communityId" ng-options="m.objId as m.communityName for m in communityLabelList.data">
        <option value="">-- 请选择 --</option>
    </select>
    <a ng-click="getNoReplyList(date,communityId)" class="btn-primary btn-sm nodecoration">筛选</a>
    {{id}}
</div>



<div class="tab-content">
    <div class="tab-pane active" id="tab_a">
        <table class="table table-condensed">
            <thead>
            <tr>
                <!--<th>标签&lt;!&ndash;tag</th>&ndash;&gt;-->

                <!--<th>图像&lt;!&ndash;images</th>&ndash;&gt;-->
                <th>小区<!--replies--></th>
                <th>创建者<!--createdBy--></th>
                <th>提问时间<!--dateCreated--></th>
                <th>描述<!--desc--></th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="question in noReplyList.data">
                <!--<td>{{question.tag}}</td>-->

                <td>{{question.community.communityName}}</td>
                <!--<td>{{question.replies}}</td>-->
                <!--<td>{{question.pollOptions}}</td>-->
                <!--<td>{{question.pollUserList}}</td>-->
                <td>{{question.createdBy.nickName}}</td>
                <td>{{question.dateCreated | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                <td width="1000">{{question.desc}}</td>

                <td>
                    <button type="button" class="btn btn-primary btn-xs" data-toggle="modal"
                            data-target="#resModal{{$index}}">回复
                    </button>
                    <div class="modal fade" id="resModal{{$index}}" tabindex="-1" role="dialog"
                         aria-labelledby="myModalLabel" aria-hidden="false">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                            aria-hidden="true">&times;</span></button>
                                    <h5 class="modal-title" id="myModalLabel">问题：{{question.desc}}</h5>
                                </div>
                                <div class="modal-body">
                                    <textarea rows="10" ng-model="data.replies.replyDesc" required style="width:100%"
                                              tabindex="7"></textarea>
                                </div>
                                <div class="modal-footer">
                                    {{msg}}
                                    <button ng-click="sendReply(question.objId,data)" type="button"
                                            class="btn btn-default btn-sm" data-dismiss="modal">回复
                                    </button>
                                </div>
                            </div>
                        </div>
                    </div>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
</div>